<!DOCTYPE html><html lang="en" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"><title>JAVA 从0到helloworld | Unknown Blog</title><meta name="author" content="Ris Pika"><meta name="copyright" content="Ris Pika"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="本文讲讲述如何从计算机小白到使用java打出第一个Hello World!  1. 下载安装java(jdk jre)1. 进入ORACLE官方,下载jdk地址放在这边:Java Archive Downloads - Java SE 8u211 and later (oracle.com) 上面下载不了,可下载百度云网盘-&gt; https:&#x2F;&#x2F;pan.baidu.com&#x2F;s&#x2F;1xlQrqg">
<meta property="og:type" content="article">
<meta property="og:title" content="JAVA 从0到helloworld">
<meta property="og:url" content="https://unkonwn.online/2023/03/01/JAVA-%E4%BB%8E0%E5%88%B0helloworld/index.html">
<meta property="og:site_name" content="Unknown Blog">
<meta property="og:description" content="本文讲讲述如何从计算机小白到使用java打出第一个Hello World!  1. 下载安装java(jdk jre)1. 进入ORACLE官方,下载jdk地址放在这边:Java Archive Downloads - Java SE 8u211 and later (oracle.com) 上面下载不了,可下载百度云网盘-&gt; https:&#x2F;&#x2F;pan.baidu.com&#x2F;s&#x2F;1xlQrqg">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://pic.unkonwn.online//wallhaven-gpw787.jpg?imageView/1/w/500/h/500">
<meta property="article:published_time" content="2023-03-01T14:32:08.000Z">
<meta property="article:modified_time" content="2023-03-02T04:40:27.202Z">
<meta property="article:author" content="Ris Pika">
<meta property="article:tag" content="java">
<meta property="article:tag" content="入门">
<meta property="article:tag" content="环境">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://pic.unkonwn.online//wallhaven-gpw787.jpg?imageView/1/w/500/h/500"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://unkonwn.online/2023/03/01/JAVA-%E4%BB%8E0%E5%88%B0helloworld/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/6.0.0/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/node-snackbar/0.1.16/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","languages":{"hits_empty":"We didn't find any results for the search: ${query}"}},
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: 'Copy successfully',
    error: 'Copy error',
    noSupport: 'The browser does not support'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: 'Just',
    min: 'minutes ago',
    hour: 'hours ago',
    day: 'days ago',
    month: 'months ago'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"Traditional Chinese Activated Manually","cht_to_chs":"Simplified Chinese Activated Manually","day_to_night":"Dark Mode Activated Manually","night_to_day":"Light Mode Activated Manually","bgLight":"#49b1f5","bgDark":"#121212","position":"top-right"},
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: true,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: false,
  }
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'JAVA 从0到helloworld',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2023-03-02 12:40:27'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 5.4.2"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">Loading...</div></div></div><script>const preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',()=> { preloader.endLoading() })

if (false) {
  document.addEventListener('pjax:send', () => { preloader.initLoading() })
  document.addEventListener('pjax:complete', () => { preloader.endLoading() })
}</script><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="http://pic.unkonwn.online//20140802211120_t34dW.jpeg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">Articles</div><div class="length-num">6</div></a><a href="/tags/"><div class="headline">Tags</div><div class="length-num">13</div></a><a href="/categories/"><div class="headline">Categories</div><div class="length-num">0</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-paper-plane"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/upadte/"><i class="fa-fw fa fa-bell"></i><span> 日志</span></a></div><div class="menus_item"><a class="site-page" href="/myself/"><i class="fa-fw fa fa-id-card"></i><span> Myself</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 菜单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/%E5%85%B3%E4%BA%8E"><i class="fa-fw /about/"></i><span> 0</span></a></li><li><a class="site-page child" href="/butterfly%E4%B8%BB%E9%A2%98"><i class="fa-fw https://github.com/jerryc127/hexo-theme-butterfly/"></i><span> 1</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://pic.unkonwn.online//wallhaven-gpw787.jpg')"><nav id="nav"><span id="blog-info"><a href="/" title="Unknown Blog"><span class="site-name">Unknown Blog</span></a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i><span> Search</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-paper-plane"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/upadte/"><i class="fa-fw fa fa-bell"></i><span> 日志</span></a></div><div class="menus_item"><a class="site-page" href="/myself/"><i class="fa-fw fa fa-id-card"></i><span> Myself</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 菜单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/%E5%85%B3%E4%BA%8E"><i class="fa-fw /about/"></i><span> 0</span></a></li><li><a class="site-page child" href="/butterfly%E4%B8%BB%E9%A2%98"><i class="fa-fw https://github.com/jerryc127/hexo-theme-butterfly/"></i><span> 1</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">JAVA 从0到helloworld</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">Created</span><time class="post-meta-date-created" datetime="2023-03-01T14:32:08.000Z" title="Created 2023-03-01 22:32:08">2023-03-01</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">Updated</span><time class="post-meta-date-updated" datetime="2023-03-02T04:40:27.202Z" title="Updated 2023-03-02 12:40:27">2023-03-02</time></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="JAVA 从0到helloworld"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">Post View:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><blockquote>
<p>本文讲讲述如何从计算机小白到使用java打出第一个Hello World!</p>
</blockquote>
<h2 id="1-下载安装java-jdk-jre"><a href="#1-下载安装java-jdk-jre" class="headerlink" title="1. 下载安装java(jdk jre)"></a>1. 下载安装java(<code>jdk jre</code>)</h2><h3 id="1-进入ORACLE官方-下载jdk"><a href="#1-进入ORACLE官方-下载jdk" class="headerlink" title="1. 进入ORACLE官方,下载jdk"></a>1. 进入ORACLE官方,下载<code>jdk</code></h3><p><em><strong>地址放在这边:<a target="_blank" rel="noopener" href="https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html">Java Archive Downloads - Java SE 8u211 and later (oracle.com)</a></strong></em></p>
<p><em><strong>上面下载不了,可下载百度云网盘-&gt; <a target="_blank" rel="noopener" href="https://pan.baidu.com/s/1xlQrqgBxlxTFzTNhaQF4Rg">https://pan.baidu.com/s/1xlQrqgBxlxTFzTNhaQF4Rg</a></strong></em></p>
<p><em><strong>验证码: <code>JAVA</code></strong></em></p>
<h3 id="2-页面向下滑动-选择合适的java-se版本下载"><a href="#2-页面向下滑动-选择合适的java-se版本下载" class="headerlink" title="2. 页面向下滑动,选择合适的java se版本下载"></a>2. 页面向下滑动,选择合适的java se版本下载</h3><blockquote>
<p>记住!是JAVA SE Development Kit !!!!!!!!!!!!!!!!!!!!!!!!!!不是JRE!!!!!!!!!!!!!!!</p>
</blockquote>
<p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301211818.png"></p>
<h3 id="3-点击右边蓝色字体进行下载-因为是外网缘故-下载可能有点慢-等一等-你可能需要注册一个账号"><a href="#3-点击右边蓝色字体进行下载-因为是外网缘故-下载可能有点慢-等一等-你可能需要注册一个账号" class="headerlink" title="3. 点击右边蓝色字体进行下载,因为是外网缘故,下载可能有点慢,等一等(你可能需要注册一个账号)"></a>3. 点击右边蓝色字体进行下载,因为是外网缘故,下载可能有点慢,等一等(你可能需要注册一个账号)</h3><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301212106.png"></p>
<h2 id="2-安装"><a href="#2-安装" class="headerlink" title="2. 安装"></a>2. 安装</h2><h4 id="1-点击安装"><a href="#1-点击安装" class="headerlink" title="1. 点击安装"></a>1. 点击安装</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301212324.png"></p>
<p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301215832.png"></p>
<blockquote>
<p>记住这个地址!!!!!!!!!!!!!!!!!!!!!</p>
</blockquote>
<h4 id="2-不断点击下一步-知道弹出新窗口"><a href="#2-不断点击下一步-知道弹出新窗口" class="headerlink" title="2. 不断点击下一步,知道弹出新窗口"></a>2. 不断点击下一步,知道弹出新窗口</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301212550.png"></p>
<h4 id="3-继续点击下一步-知道显示安装完成"><a href="#3-继续点击下一步-知道显示安装完成" class="headerlink" title="3. 继续点击下一步,知道显示安装完成"></a>3. <strong>继续点击下一步,知道显示安装完成</strong></h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301212659.png"></p>
<h4 id="4-ctrl-q-搜索环境变量并打开"><a href="#4-ctrl-q-搜索环境变量并打开" class="headerlink" title="4. ctrl+q 搜索环境变量并打开"></a>4. ctrl+q 搜索环境变量并打开</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301220339.png"></p>
<h4 id="5-点击右下角环境变量"><a href="#5-点击右下角环境变量" class="headerlink" title="5. 点击右下角环境变量"></a>5. 点击右下角环境变量</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301223657.png"></p>
<h4 id="6-双击打开Path-添加之前记住的路径复制过来-后面加-bin-保存-关键"><a href="#6-双击打开Path-添加之前记住的路径复制过来-后面加-bin-保存-关键" class="headerlink" title="6. 双击打开Path,添加之前记住的路径复制过来!!!后面加\bin 保存(关键)"></a>6. 双击打开Path,添加之前记住的路径复制过来!!!后面加<code>\bin</code> 保存(关键)</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301223706.png"></p>
<h2 id="3-测试是否安装成功"><a href="#3-测试是否安装成功" class="headerlink" title="3. 测试是否安装成功"></a>3. 测试是否安装成功</h2><blockquote>
<p>安装版的java一般不用自己配置运行环境</p>
</blockquote>
<h4 id="1-按win-R-键-打开"><a href="#1-按win-R-键-打开" class="headerlink" title="1. 按win + R 键 打开"></a>1. 按win + R 键 打开</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301213049.png"></p>
<h4 id="2-输入cmd后回车或点击确定"><a href="#2-输入cmd后回车或点击确定" class="headerlink" title="2. 输入cmd后回车或点击确定"></a>2. 输入cmd后回车或点击确定</h4><h4 id="3-输入-java-version-回车-如产生下方相似代码-则代表安装成功"><a href="#3-输入-java-version-回车-如产生下方相似代码-则代表安装成功" class="headerlink" title="3. 输入 java -version  回车 如产生下方相似代码,则代表安装成功"></a>3. 输入 <code>java -version</code>  回车 如产生下方相似代码,则代表安装成功</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301213130.png"></p>
<h4 id="4-输入javac-version-同上"><a href="#4-输入javac-version-同上" class="headerlink" title="4. 输入javac -version 同上"></a>4. 输入javac -version 同上</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301220903.png"></p>
<h2 id="4-输出你的第一个hello-world"><a href="#4-输出你的第一个hello-world" class="headerlink" title="4. 输出你的第一个hello world!"></a>4. 输出你的第一个hello world!</h2><h4 id="1-打开桌面上的此电脑"><a href="#1-打开桌面上的此电脑" class="headerlink" title="1. 打开桌面上的此电脑"></a>1. 打开桌面上的此电脑</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301213614.png"></p>
<h4 id="2-点击上方查看-勾选文件拓展名"><a href="#2-点击上方查看-勾选文件拓展名" class="headerlink" title="2. 点击上方查看,勾选文件拓展名"></a>2. 点击上方查看,勾选文件拓展名</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301213706.png"></p>
<h4 id="3-桌面创建helloworld-txt"><a href="#3-桌面创建helloworld-txt" class="headerlink" title="3. 桌面创建helloworld.txt"></a>3. 桌面创建helloworld.txt</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301213824.png"></p>
<h4 id="4-打开-并修改内容尝试输入helloword"><a href="#4-打开-并修改内容尝试输入helloword" class="headerlink" title="4. 打开,并修改内容尝试输入helloword"></a>4. 打开,并修改内容尝试输入helloword</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301214223.png"></p>
<figure class="highlight java"><table><tr><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="keyword">class</span> <span class="title class_">helloworld</span> &#123;</span><br><span class="line">    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> <span class="title function_">main</span><span class="params">(String[] args)</span> &#123;</span><br><span class="line">        System.out.println(<span class="string">&quot;Hello World!!!!!&quot;</span>);</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<h4 id="5-ctrl-s-保存-退出"><a href="#5-ctrl-s-保存-退出" class="headerlink" title="5. ctrl + s 保存,退出"></a>5. ctrl + s 保存,退出</h4><h4 id="6-修改后缀名为java"><a href="#6-修改后缀名为java" class="headerlink" title="6. 修改后缀名为java"></a>6. 修改后缀名为java</h4><p><strong>左击一下helloworld文件,修改名字为helloworld.java</strong></p>
<p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301214404.png"></p>
<h4 id="7-右击文件查看属性-点击安全-gt-复制对象名称"><a href="#7-右击文件查看属性-点击安全-gt-复制对象名称" class="headerlink" title="7. 右击文件查看属性,点击安全 -&gt; 复制对象名称"></a>7. 右击文件查看属性,点击安全 -&gt; 复制对象名称</h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301214621.png"></p>
<h4 id="8-按之前方式打开cmd"><a href="#8-按之前方式打开cmd" class="headerlink" title="8. 按之前方式打开cmd"></a>8. 按之前方式打开cmd</h4><p>输入<code>javac + 拷贝的对象名称</code> 如下图</p>
<p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301221000.png"></p>
<h4 id="9-此时桌面会出现helloworld-class文件"><a href="#9-此时桌面会出现helloworld-class文件" class="headerlink" title="9. 此时桌面会出现helloworld.class文件"></a>9. 此时桌面会出现helloworld.class文件</h4><h4 id="10-cmd输入-java-cp-路径-类名"><a href="#10-cmd输入-java-cp-路径-类名" class="headerlink" title="10. cmd输入 java -cp 路径 类名"></a>10. cmd输入 <code>java -cp 路径 类名</code></h4><p><img src= "" data-lazy-src="https://pic.unkonwn.online//20230301223031.png"></p>
<h4 id="11-成功"><a href="#11-成功" class="headerlink" title="11. 成功!!!!!!!!!!!!!!!!!!!!"></a>11. 成功!!!!!!!!!!!!!!!!!!!!</h4><blockquote>
<p>你已经完成java入门的第一步!!!!!!!!!!!!</p>
</blockquote>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">Author: </span><span class="post-copyright-info"><a href="https://unkonwn.online">Ris Pika</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">Link: </span><span class="post-copyright-info"><a href="https://unkonwn.online/2023/03/01/JAVA-%E4%BB%8E0%E5%88%B0helloworld/">https://unkonwn.online/2023/03/01/JAVA-%E4%BB%8E0%E5%88%B0helloworld/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">Copyright Notice: </span><span class="post-copyright-info">All articles in this blog are licensed under <a target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> unless stating additionally.</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/java/">java</a><a class="post-meta__tags" href="/tags/%E5%85%A5%E9%97%A8/">入门</a><a class="post-meta__tags" href="/tags/%E7%8E%AF%E5%A2%83/">环境</a></div><div class="post_share"><div class="social-share" data-image="https://pic.unkonwn.online//wallhaven-gpw787.jpg?imageView/1/w/500/h/500" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://lib.baomitu.com/social-share.js/1.0.16/css/share.min.css" media="print" onload="this.media='all'"><script src="https://lib.baomitu.com/social-share.js/1.0.16/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="next-post pull-full"><a href="/2023/03/01/JUC%E5%AD%A6%E4%B9%A0%E6%97%A5%E8%AE%B01/" title="JUC学习日记1"><img class="cover" src= "" data-lazy-src="https://pic.unkonwn.online//wallhaven-6dl2yw.jpg?imageView/1/w/500/h/500" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">Next Post</div><div class="next_info">JUC学习日记1</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>Related Articles</span></div><div class="relatedPosts-list"><div><a href="/2023/02/26/jwt/" title="五分钟JWT入门"><img class="cover" src= "" data-lazy-src="http://pic.unkonwn.online/wallhaven-qzr7pr.jpg?imageView/1/w/240/h/240" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-02-26</div><div class="title">五分钟JWT入门</div></div></a></div><div><a href="/2023/02/27/blocking-queue/" title="初学BlockingQueue"><img class="cover" src= "" data-lazy-src="http://pic.unkonwn.online/wallhaven-we52yp.jpg?imageView/1/w/240/h/240" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-02-27</div><div class="title">初学BlockingQueue</div></div></a></div><div><a href="/2023/02/28/JAVA%E7%BA%BF%E7%A8%8B%E6%B1%A0%E5%AD%A6%E4%B9%A0%E6%97%A5%E8%AE%B01/" title="JAVA线程池学习日记1"><img class="cover" src= "" data-lazy-src="https://pic.unkonwn.online//wallhaven-x6ewo3.jpg?imageView/1/w/500/h/500" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-02-28</div><div class="title">JAVA线程池学习日记1</div></div></a></div><div><a href="/2023/03/01/JUC%E5%AD%A6%E4%B9%A0%E6%97%A5%E8%AE%B01/" title="JUC学习日记1"><img class="cover" src= "" data-lazy-src="https://pic.unkonwn.online//wallhaven-6dl2yw.jpg?imageView/1/w/500/h/500" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-03-01</div><div class="title">JUC学习日记1</div></div></a></div><div><a href="/2023/02/26/spring-security/" title="Spring Security 入门"><img class="cover" src= "" data-lazy-src="http://pic.unkonwn.online/wallhaven-d681jm.jpg?imageView/1/w/500/h/500" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-02-26</div><div class="title">Spring Security 入门</div></div></a></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="http://pic.unkonwn.online//20140802211120_t34dW.jpeg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">Ris Pika</div><div class="author-info__description"></div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">Articles</div><div class="length-num">6</div></a><a href="/tags/"><div class="headline">Tags</div><div class="length-num">13</div></a><a href="/categories/"><div class="headline">Categories</div><div class="length-num">0</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/rispika/"><i class="fab fa-github"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>Announcement</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>Catalog</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#1-%E4%B8%8B%E8%BD%BD%E5%AE%89%E8%A3%85java-jdk-jre"><span class="toc-number">1.</span> <span class="toc-text">1. 下载安装java(jdk jre)</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#1-%E8%BF%9B%E5%85%A5ORACLE%E5%AE%98%E6%96%B9-%E4%B8%8B%E8%BD%BDjdk"><span class="toc-number">1.1.</span> <span class="toc-text">1. 进入ORACLE官方,下载jdk</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#2-%E9%A1%B5%E9%9D%A2%E5%90%91%E4%B8%8B%E6%BB%91%E5%8A%A8-%E9%80%89%E6%8B%A9%E5%90%88%E9%80%82%E7%9A%84java-se%E7%89%88%E6%9C%AC%E4%B8%8B%E8%BD%BD"><span class="toc-number">1.2.</span> <span class="toc-text">2. 页面向下滑动,选择合适的java se版本下载</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#3-%E7%82%B9%E5%87%BB%E5%8F%B3%E8%BE%B9%E8%93%9D%E8%89%B2%E5%AD%97%E4%BD%93%E8%BF%9B%E8%A1%8C%E4%B8%8B%E8%BD%BD-%E5%9B%A0%E4%B8%BA%E6%98%AF%E5%A4%96%E7%BD%91%E7%BC%98%E6%95%85-%E4%B8%8B%E8%BD%BD%E5%8F%AF%E8%83%BD%E6%9C%89%E7%82%B9%E6%85%A2-%E7%AD%89%E4%B8%80%E7%AD%89-%E4%BD%A0%E5%8F%AF%E8%83%BD%E9%9C%80%E8%A6%81%E6%B3%A8%E5%86%8C%E4%B8%80%E4%B8%AA%E8%B4%A6%E5%8F%B7"><span class="toc-number">1.3.</span> <span class="toc-text">3. 点击右边蓝色字体进行下载,因为是外网缘故,下载可能有点慢,等一等(你可能需要注册一个账号)</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#2-%E5%AE%89%E8%A3%85"><span class="toc-number">2.</span> <span class="toc-text">2. 安装</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#1-%E7%82%B9%E5%87%BB%E5%AE%89%E8%A3%85"><span class="toc-number">2.0.1.</span> <span class="toc-text">1. 点击安装</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#2-%E4%B8%8D%E6%96%AD%E7%82%B9%E5%87%BB%E4%B8%8B%E4%B8%80%E6%AD%A5-%E7%9F%A5%E9%81%93%E5%BC%B9%E5%87%BA%E6%96%B0%E7%AA%97%E5%8F%A3"><span class="toc-number">2.0.2.</span> <span class="toc-text">2. 不断点击下一步,知道弹出新窗口</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#3-%E7%BB%A7%E7%BB%AD%E7%82%B9%E5%87%BB%E4%B8%8B%E4%B8%80%E6%AD%A5-%E7%9F%A5%E9%81%93%E6%98%BE%E7%A4%BA%E5%AE%89%E8%A3%85%E5%AE%8C%E6%88%90"><span class="toc-number">2.0.3.</span> <span class="toc-text">3. 继续点击下一步,知道显示安装完成</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#4-ctrl-q-%E6%90%9C%E7%B4%A2%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E5%B9%B6%E6%89%93%E5%BC%80"><span class="toc-number">2.0.4.</span> <span class="toc-text">4. ctrl+q 搜索环境变量并打开</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-%E7%82%B9%E5%87%BB%E5%8F%B3%E4%B8%8B%E8%A7%92%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F"><span class="toc-number">2.0.5.</span> <span class="toc-text">5. 点击右下角环境变量</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#6-%E5%8F%8C%E5%87%BB%E6%89%93%E5%BC%80Path-%E6%B7%BB%E5%8A%A0%E4%B9%8B%E5%89%8D%E8%AE%B0%E4%BD%8F%E7%9A%84%E8%B7%AF%E5%BE%84%E5%A4%8D%E5%88%B6%E8%BF%87%E6%9D%A5-%E5%90%8E%E9%9D%A2%E5%8A%A0-bin-%E4%BF%9D%E5%AD%98-%E5%85%B3%E9%94%AE"><span class="toc-number">2.0.6.</span> <span class="toc-text">6. 双击打开Path,添加之前记住的路径复制过来!!!后面加\bin 保存(关键)</span></a></li></ol></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#3-%E6%B5%8B%E8%AF%95%E6%98%AF%E5%90%A6%E5%AE%89%E8%A3%85%E6%88%90%E5%8A%9F"><span class="toc-number">3.</span> <span class="toc-text">3. 测试是否安装成功</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#1-%E6%8C%89win-R-%E9%94%AE-%E6%89%93%E5%BC%80"><span class="toc-number">3.0.1.</span> <span class="toc-text">1. 按win + R 键 打开</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#2-%E8%BE%93%E5%85%A5cmd%E5%90%8E%E5%9B%9E%E8%BD%A6%E6%88%96%E7%82%B9%E5%87%BB%E7%A1%AE%E5%AE%9A"><span class="toc-number">3.0.2.</span> <span class="toc-text">2. 输入cmd后回车或点击确定</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#3-%E8%BE%93%E5%85%A5-java-version-%E5%9B%9E%E8%BD%A6-%E5%A6%82%E4%BA%A7%E7%94%9F%E4%B8%8B%E6%96%B9%E7%9B%B8%E4%BC%BC%E4%BB%A3%E7%A0%81-%E5%88%99%E4%BB%A3%E8%A1%A8%E5%AE%89%E8%A3%85%E6%88%90%E5%8A%9F"><span class="toc-number">3.0.3.</span> <span class="toc-text">3. 输入 java -version  回车 如产生下方相似代码,则代表安装成功</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#4-%E8%BE%93%E5%85%A5javac-version-%E5%90%8C%E4%B8%8A"><span class="toc-number">3.0.4.</span> <span class="toc-text">4. 输入javac -version 同上</span></a></li></ol></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#4-%E8%BE%93%E5%87%BA%E4%BD%A0%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AAhello-world"><span class="toc-number">4.</span> <span class="toc-text">4. 输出你的第一个hello world!</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#1-%E6%89%93%E5%BC%80%E6%A1%8C%E9%9D%A2%E4%B8%8A%E7%9A%84%E6%AD%A4%E7%94%B5%E8%84%91"><span class="toc-number">4.0.1.</span> <span class="toc-text">1. 打开桌面上的此电脑</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#2-%E7%82%B9%E5%87%BB%E4%B8%8A%E6%96%B9%E6%9F%A5%E7%9C%8B-%E5%8B%BE%E9%80%89%E6%96%87%E4%BB%B6%E6%8B%93%E5%B1%95%E5%90%8D"><span class="toc-number">4.0.2.</span> <span class="toc-text">2. 点击上方查看,勾选文件拓展名</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#3-%E6%A1%8C%E9%9D%A2%E5%88%9B%E5%BB%BAhelloworld-txt"><span class="toc-number">4.0.3.</span> <span class="toc-text">3. 桌面创建helloworld.txt</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#4-%E6%89%93%E5%BC%80-%E5%B9%B6%E4%BF%AE%E6%94%B9%E5%86%85%E5%AE%B9%E5%B0%9D%E8%AF%95%E8%BE%93%E5%85%A5helloword"><span class="toc-number">4.0.4.</span> <span class="toc-text">4. 打开,并修改内容尝试输入helloword</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-ctrl-s-%E4%BF%9D%E5%AD%98-%E9%80%80%E5%87%BA"><span class="toc-number">4.0.5.</span> <span class="toc-text">5. ctrl + s 保存,退出</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#6-%E4%BF%AE%E6%94%B9%E5%90%8E%E7%BC%80%E5%90%8D%E4%B8%BAjava"><span class="toc-number">4.0.6.</span> <span class="toc-text">6. 修改后缀名为java</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#7-%E5%8F%B3%E5%87%BB%E6%96%87%E4%BB%B6%E6%9F%A5%E7%9C%8B%E5%B1%9E%E6%80%A7-%E7%82%B9%E5%87%BB%E5%AE%89%E5%85%A8-gt-%E5%A4%8D%E5%88%B6%E5%AF%B9%E8%B1%A1%E5%90%8D%E7%A7%B0"><span class="toc-number">4.0.7.</span> <span class="toc-text">7. 右击文件查看属性,点击安全 -&gt; 复制对象名称</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#8-%E6%8C%89%E4%B9%8B%E5%89%8D%E6%96%B9%E5%BC%8F%E6%89%93%E5%BC%80cmd"><span class="toc-number">4.0.8.</span> <span class="toc-text">8. 按之前方式打开cmd</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#9-%E6%AD%A4%E6%97%B6%E6%A1%8C%E9%9D%A2%E4%BC%9A%E5%87%BA%E7%8E%B0helloworld-class%E6%96%87%E4%BB%B6"><span class="toc-number">4.0.9.</span> <span class="toc-text">9. 此时桌面会出现helloworld.class文件</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#10-cmd%E8%BE%93%E5%85%A5-java-cp-%E8%B7%AF%E5%BE%84-%E7%B1%BB%E5%90%8D"><span class="toc-number">4.0.10.</span> <span class="toc-text">10. cmd输入 java -cp 路径 类名</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#11-%E6%88%90%E5%8A%9F"><span class="toc-number">4.0.11.</span> <span class="toc-text">11. 成功!!!!!!!!!!!!!!!!!!!!</span></a></li></ol></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>Recent Post</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2023/03/01/JAVA-%E4%BB%8E0%E5%88%B0helloworld/" title="JAVA 从0到helloworld"><img src= "" data-lazy-src="https://pic.unkonwn.online//wallhaven-gpw787.jpg?imageView/1/w/500/h/500" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JAVA 从0到helloworld"/></a><div class="content"><a class="title" href="/2023/03/01/JAVA-%E4%BB%8E0%E5%88%B0helloworld/" title="JAVA 从0到helloworld">JAVA 从0到helloworld</a><time datetime="2023-03-01T14:32:08.000Z" title="Created 2023-03-01 22:32:08">2023-03-01</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/03/01/JUC%E5%AD%A6%E4%B9%A0%E6%97%A5%E8%AE%B01/" title="JUC学习日记1"><img src= "" data-lazy-src="https://pic.unkonwn.online//wallhaven-6dl2yw.jpg?imageView/1/w/500/h/500" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JUC学习日记1"/></a><div class="content"><a class="title" href="/2023/03/01/JUC%E5%AD%A6%E4%B9%A0%E6%97%A5%E8%AE%B01/" title="JUC学习日记1">JUC学习日记1</a><time datetime="2023-03-01T12:52:40.000Z" title="Created 2023-03-01 20:52:40">2023-03-01</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/02/28/JAVA%E7%BA%BF%E7%A8%8B%E6%B1%A0%E5%AD%A6%E4%B9%A0%E6%97%A5%E8%AE%B01/" title="JAVA线程池学习日记1"><img src= "" data-lazy-src="https://pic.unkonwn.online//wallhaven-x6ewo3.jpg?imageView/1/w/500/h/500" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JAVA线程池学习日记1"/></a><div class="content"><a class="title" href="/2023/02/28/JAVA%E7%BA%BF%E7%A8%8B%E6%B1%A0%E5%AD%A6%E4%B9%A0%E6%97%A5%E8%AE%B01/" title="JAVA线程池学习日记1">JAVA线程池学习日记1</a><time datetime="2023-02-28T10:02:52.000Z" title="Created 2023-02-28 18:02:52">2023-02-28</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/02/27/blocking-queue/" title="初学BlockingQueue"><img src= "" data-lazy-src="http://pic.unkonwn.online/wallhaven-we52yp.jpg?imageView/1/w/240/h/240" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="初学BlockingQueue"/></a><div class="content"><a class="title" href="/2023/02/27/blocking-queue/" title="初学BlockingQueue">初学BlockingQueue</a><time datetime="2023-02-27T07:50:33.000Z" title="Created 2023-02-27 15:50:33">2023-02-27</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/02/26/jwt/" title="五分钟JWT入门"><img src= "" data-lazy-src="http://pic.unkonwn.online/wallhaven-qzr7pr.jpg?imageView/1/w/240/h/240" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="五分钟JWT入门"/></a><div class="content"><a class="title" href="/2023/02/26/jwt/" title="五分钟JWT入门">五分钟JWT入门</a><time datetime="2023-02-26T13:39:36.000Z" title="Created 2023-02-26 21:39:36">2023-02-26</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By Ris Pika</div><div class="framework-info"><span>Framework </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>Theme </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">unknown!</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="Read Mode"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="Switch Between Light And Dark Mode"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="Toggle between single-column and double-column"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="Setting"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="Table Of Contents"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="Back To Top"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vanilla-lazyload/17.3.1/lazyload.iife.min.js"></script><script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/node-snackbar/0.1.16/snackbar.min.js"></script><div class="js-pjax"></div><script defer src="/live2d-widget/autoload.js"></script><canvas class="fireworks" mobile="true"></canvas><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/fireworks.min.js"></script><script defer="defer" id="fluttering_ribbon" mobile="true" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-fluttering-ribbon.min.js"></script><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful = true;
POWERMODE.shake = false;
POWERMODE.mobile = false;
document.body.addEventListener('input', POWERMODE);
</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">Search</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  Loading the Database</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="Search for Posts" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div><script src="/js/search/local-search.js"></script></div></body></html>